/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tintuna.sdigger.web.dao;

import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * Interface responsible for retrieving statement data from persistent storage.
 * @author bsmith
 */
public interface StatementPaper {
    /**
     * The columnns have a desired order, such as for printing in a table.
     * @return the desired order.
     */
    public List<String> getOrder();
    /**
     * @return the header from the statement
     */
    public Map<String, String> getHeader();
    
    /**
     * @return Iterator for each data (non-header) row in the Statement.
     */
    public Iterator<Map<String, String>> getRowsIterator();
    
}
